package com.blog.dxxr.blogfront.Service.Impl;

import com.blog.dxxr.blogfront.Domain.ArticleSecondCategory;
import com.blog.dxxr.blogfront.Mapper.ArticleSecondCategoryMapper;
import com.blog.dxxr.blogfront.Service.ArticleCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ArticleCategoryServiceImpl implements ArticleCategoryService {
    @Autowired
    private ArticleSecondCategoryMapper articleSecondCategoryMapper;


    @Override
    public List<ArticleSecondCategory> querySecondCategoryList() {
        return articleSecondCategoryMapper.selectSecondCategoryList();
    }
}
